package com.ruoyi.oa.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;
import com.ruoyi.workflow.domain.ActBusinessStatus;
import com.alibaba.excel.annotation.write.style.ColumnWidth;


/**
 * 离职申请视图对象 oa_human_depart
 *
 * @author ruoyi
 * @date 2023-07-02
 */
@Data
@ExcelIgnoreUnannotated
public class OaHumanDepartVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
//    @ExcelProperty(value = "主键")
    private String id;


    /**
     * 申请人id
     */
//    @ExcelProperty(value = "申请人id")
    private String applicantId;

    /**
     * 申请人姓名
     */
    @ExcelProperty(value = "申请人姓名")
    private String applicantName;

    /**
     * 职位
     */
    @ExcelProperty(value = "职位")
    private String position;

    /**
     * 入职日期
     */
    @ExcelProperty(value = "入职日期")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date entryDate;

    /**
     * 申请离职日期
     */
    @ExcelProperty(value = "申请离职日期")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date applyDepartDate;

    /**
     * 预计离职日期
     */
    @ExcelProperty(value = "预计离职日期")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date expectDepartDate;

    /**
     * 离职原因
     */
    @ExcelProperty(value = "离职原因")
    private String departReason;

    /**
     * 附件
     */
//    @ExcelProperty(value = "附件")
    private String attachment;


    /**
     * 业务状态实体对象
     */
    private ActBusinessStatus actBusinessStatus;


    /**
 * 创建时间
 */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm",timezone="GMT+8")
    @ExcelProperty(value = "提交日期")
    @ColumnWidth(20)
    private Date createTime;

    private String nickName;

    @ExcelProperty(value = "提交人")
    private String createBy;

    /**
     * 更新者
     */
    private String updateBy;

    /**
     * 更新时间
     */
    private Date updateTime;

}
